﻿#region using System
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
#endregion

namespace c_Windows
{
    public partial class HomeBegin : Form
    {
        public HomeBegin()
        {
            InitializeComponent();
        }

        private void Home_Load(object sender, EventArgs e)
        {
            
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Enabled = false;
            MessageDialog MD1 = new MessageDialog(this);
            MD1.Show();
            
        }

        private void groupBox1_Enter(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Enabled = false;
            Bar B1 = new Bar(this);
            B1.Show();
            this.Enabled = true;
        }

        private void button3_Click(object sender, EventArgs e)
        {
            this.Enabled = false;
            Key K1 = new Key();
            K1.Show();
            this.Enabled = true;
        }

        private void button4_Click_1(object sender, EventArgs e)
        {
            FileView FV1 = new FileView();
            FV1.Show();
        }

        private void button_MouseEnter(Button buttons)
        {
            
        }

        private void button1_MouseEnter(object sender, EventArgs e)
        {
            this.Bar.BackColor = Color.LightGray;
        }

        private void MessageDialog_MouseEnter(object sender, EventArgs e)
        {
            this.MessageDialog.BackColor = Color.LightGray;
        }

        private void Key_MouseEnter(object sender, EventArgs e)
        {
            this.Key.BackColor = Color.LightGray;
        }

        private void FileView_MouseEnter(object sender, EventArgs e)
        {
            this.FileView.BackColor = Color.LightGray;
        }

        private void Bar_MouseLeave(object sender, EventArgs e)
        {
            this.Bar.BackColor = Control.DefaultBackColor;
        }

        private void MessageDialog_MouseLeave(object sender, EventArgs e)
        {
            this.MessageDialog.BackColor = Control.DefaultBackColor;
        }

        private void Key_MouseLeave(object sender, EventArgs e)
        {
            this.Key.BackColor = Control.DefaultBackColor;
        }

        private void FileView_MouseLeave(object sender, EventArgs e)
        {
            this.FileView.BackColor = Control.DefaultBackColor;
        }

        private void DisplayWeb_Click(object sender, EventArgs e)
        {
            DisplayWeb DW1 = new DisplayWeb();
            DW1.Show();
        }


    }
}